package Main;

//import java.util.ArrayList;
//the main driver used for tests
public class Main 
{
	public static void main(String[] args)
	{
		Catalog cat=new Catalog("Events.txt");
		TheaterClient c1, c2;
		c1=new TheaterClient(cat, "Client 1.txt");
		c2=new TheaterClient(cat, "Client 2.txt");
		c1.start();
		c2.start();
		try 
		{
			c1.join();
			c2.join();
			cat.printBookings(3);
		} 
		catch (InterruptedException e) 
		{
			e.printStackTrace();
		}
	}
}
